package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 项目号对应车间的节拍对象 main_project_process_step
 *
 * @author qijian
 * @date 2024-05-13
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_project_schedule_step")
public class ProjectScheduleStep extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    @Excel(name = "车间名")
    @ApiModelProperty(value = "车间名")
    private String factoryName;

    @Excel(name = "天数")
    @ApiModelProperty(value = "天数")
    private Integer days;

    @Excel(name = "车间序号")
    @ApiModelProperty(value = "车间序号")
    private Long orderNum;

    @ApiModelProperty(value = "版本号")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long version;

}
